package com.kmwiki.Utility;

import java.util.Random;

public class myMath {

	public static int GetRandomInt(int max , boolean startone) {
	  int result = 0;
	  Random random = new Random();
	  result = random.nextInt(max);
	  if (startone == true) result += 1;
   	  return result;
	}
}
